home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
eu1_00.zip
/
OD.MAN
< prev
next >
Wrap
Text File
|
1991-02-02
|
1KB
|
33 lines
Eldar Utilities Ver.1.00
ONCE A DAY
(C) Eldar Software, 1991
Once a Day ( OD ) utility allow you automatically execute
some programs only one time a day when computer is firstly turned on.
This program returns dos error code 0 if it is called this day first
time, code 8 if it is not so, and code 4 of some serious errors in
environment are present. The special case is when the date is 1/1/1980.
This situation judged as an uncertain date and gives return code 16.
The last case is practically impossible, except cases when the user
loads his own command processor which does not support MS/PC-DOS
feauters in full.
If you'll specify any parameter for OD then you'll got
a copyright mark and some short instructions.
To use OD just place in your AUTOEXEC.BAT the next fragment:
...
od
if errorlevel 2 goto noonce
... programs, you want to execute only one time a day
:noonce
... continuation of your AUTOEXEC.BAT
What programs is rational to execute only one time a day ?
- antiviral control of some middle-frequency used programs;
- some time-expensive checking and optimization programs;
- setting date and time on the old computers without clocks.